#include "StdAfx.h"
#include "inc\DSRoleSetBased.h"

//================== Protected =============
//2011/Apr/06 - Build
void CDSRoleSetBased::InitAttribute(void)
{
	//this->m_cdsRoleAttributs.cstrName.Empty();	//Set be null string
	//this->m_cdsRoleAttributs.cstrExpCurve.Empty();

	memset(this->m_cdsRoleAttributs.szName, 0, sizeof(this->m_cdsRoleAttributs.szName));
	memset(this->m_cdsRoleAttributs.szExpCurve, 0, sizeof(this->m_cdsRoleAttributs.szExpCurve));
	memset(this->m_cdsRoleAttributs.szIconFilePath, 0, sizeof(this->m_cdsRoleAttributs.szIconFilePath));

	this->m_cdsRoleAttributs.dsrLv = BASE_LV;
	this->m_cdsRoleAttributs.dsrCurHP = BASE_HP;
	this->m_cdsRoleAttributs.dsrMaxHP = BASE_HP;
	this->m_cdsRoleAttributs.dsrCurMP = BASE_MP;
	this->m_cdsRoleAttributs.dsrMaxMP = BASE_MP;
	this->m_cdsRoleAttributs.dsrCurExp = BASE_EXP;
	this->m_cdsRoleAttributs.dsrLvUpExp = LV1_UP_EXP;
	this->m_cdsRoleAttributs.dsrAttk = BASE_ATTK;
	this->m_cdsRoleAttributs.dsrDef = BASE_DEF;

	this->m_cdsRoleAttributs.dsrLuk = BASE_LUK;
}

//================== Public ================
CDSRoleSetBased::CDSRoleSetBased(void)
{
//Reset 
	this->InitAttribute();

}

CDSRoleSetBased::~CDSRoleSetBased(void)
{
}
